<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="${css_ctx }/main_style.css" rel="stylesheet" type="text/css" />
<title>欢迎使用承德车务段站细管理系统</title>
<script language="javascript">
function fsubmit(obj){
  if (obj.uname.value==""){alert("对不起,你还没有输入登陆账号！");obj.uname.focus();return false;} 
        if (obj.upass.value==""){alert("对不起,你还没有输入登陆密码！");obj.upass.focus();return false;} 
  obj.submit();
}
</script>
</head>
<body class="login_bg" bgcolor="#94B6E7">
<div class="main">
  <div class="welcomeq">
  <marquee direction="left" scrollamount="3">欢迎光临承德车务段《站细》管理系统!</marquee>
  </div>
  <!--welcome end-->
  <div class="login_left block">
  
  </div>
  <!--login_left end-->
  
  <div class="login_right block">
  <form action="${ctx}/users?cmd=login" method="post" name="form1" id="form1">
    <table width="200" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="21" height="27">&nbsp;</td>
        <td width="60">&nbsp;</td>
        <td width="119">&nbsp;</td>
      </tr>
      <tr>
        <td height="26">&nbsp;</td>
        <td>用户名：</td>
        <td><input type="text" name="uname" class="login_uname" /></td>
      </tr>
      <tr>
        <td height="27">&nbsp;</td>
        <td>密&nbsp;&nbsp;&nbsp;码：</td>
        <td class="login_pw_bg"><input type="password" name="upass" class="login_pw" /></td>
      </tr>
      <tr>
        <td height="24">&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td height="28">&nbsp;</td>
        <td colspan="2" height="28px">
          <table width="170" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="92"><input type="submit"  class="login_button"  value="登  录" onmousedown="return fsubmit(form1);"/></td>
              <td width="78"><input  type="reset" class="login_button" value="重  置" /></td>
            </tr>
          </table>
        </td>
      </tr>
    </table>
  </form>
  </div>
  <!--login_right end-->

  <div class="login_foot clear">
  版权所有：北京铁路局承德车务段 <br />
Bei Jing Tie Lu Ju Cheng De Che Wu Duan
  </div>
  <!--login_foot end-->  
</div>
<!--main end-->
<c:if test="${!empty msg}">
       <script type="text/javascript">
         alert("${msg}");  
       </script>
       <c:remove var="msg" scope="session"/>
</c:if>
</body>
</html>
